-
Home
-
Tutor LMS – eLearning and online course solution
-
3.2.1 (latest)
-
Code
-
Classes
- OrderController
Total Complexity |
113 |
Dependencies |
13 |
Dependents |
5 |
Total lines |
1,140 |
Lines of code |
640 |
Logical lines of code |
349 |
Comment lines |
330 |
Methods |
21 |
Properties |
2 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
create_order() |
B |
36 |
16 |
76 |
make_refund() |
A |
35 |
12 |
94 |
bulk_action_handler() |
A |
40 |
13 |
62 |
add_discount() |
A |
41 |
9 |
59 |
count_order() |
A |
45 |
10 |
39 |
prepare_bulk_actions() |
S |
53 |
6 |
25 |
add_comment() |
S |
47 |
5 |
37 |
order_cancel() |
S |
50 |
5 |
31 |
tabs_key_value() |
S |
48 |
4 |
33 |
refund_from_payment_gateway() |
S |
58 |
5 |
15 |
order_mark_as_paid() |
S |
51 |
4 |
28 |
get_order_by_id() |
S |
54 |
4 |
25 |
get_orders() |
S |
54 |
4 |
21 |
validate() |
S |
59 |
3 |
15 |
prepare_refund_data() |
S |
55 |
2 |
19 |
__construct() |
S |
59 |
2 |
13 |
update_order_status() |
S |
59 |
1 |
15 |
get_discount_data() |
S |
66 |
2 |
8 |
get_refund_data() |
S |
66 |
2 |
8 |
bulk_delete_order() |
S |
63 |
2 |
10 |
get_order_page_url() |
S |
69 |
2 |
7 |